import home from "@/views/home";
import main from "@/views/main";
export default [
  {
    path: "/",
    redirect: "/home",
  },
  {
    path: "/home",
    name: "home",
    component: home,
    children: [],
  },
  {
    path: "/main",
    name: "main",
    component: main,
    children: [
      {
        path: "pwd",
        name: "pwd",
        component: () => import("@/views/main/pwd.vue")
      },
      {
        path: "process",
        name: "process",
        component: () => import("@/views/main/process.vue")
      },
      {
        path: "advice",
        name: "advice",
        component: () => import("@/views/main/advice.vue")
      },
      {
        path:'',
        redirect:'/main/dataAnalysis'
    }
    ]
  },
];